package com.friend.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**
 * <p></p>
 *
 * @author jiuhua.xu
 * @version 1.0
 * @since JDK 1.8
 */
@Configuration
@EnableGlobalMethodSecurity(prePostEnabled = true) // 支持方法级别访问控制，如@PreAuthorize @PostAuthorize
public class SecurityConfig {

}
